package com.zf.yichat.im.mapper;

import com.zf.yichat.base.FsMapper;
import com.zf.yichat.model.RcGroups;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RcGroupsMapper extends FsMapper<RcGroups> {
    List<RcGroups> selectList(@Param("userId") Integer userId);

    List<RcGroups> selectOwnerList(@Param("userId") Integer userId);

    RcGroups selectGroupById(@Param("groupId") Long groupId);

    List<RcGroups> selectListByName(@Param("name") String name);
}